/*socket client 线程
Created on 2020年05月10日
@author: zxyong 13738196011
 */

package com.zxy.tcp;

import com.zxy.common.Com_Para;

public class ClientThread extends Thread
{
	public void run()
	{
		try
		{
			if(Com_Para.If_Child_Device == 1)
			{
				ClientHandler ch = new ClientHandler();
				ch.run();
			}
			else
			{
				ClientRegHandler crh = new ClientRegHandler();
				crh.run();
			}
			Thread.sleep(10);
		}
		catch(Exception e)
		{
		}
	}
}